Offline teaching device, measurement control device, and program

ABSTRACT

Provided are an offline teaching device and a measurement control device. The offline teaching device detects a shape of a measured object by a three-dimensional sensor unit, generates measurement procedure information in which measurement items are respectively associated with measurement points sequentially specified to the detected shape, and causes a measurement procedure information storage unit to store the measurement procedure information associated. The measurement control device detects a shape of a target measured object by a three-dimensional sensor unit, searches the measurement procedure information storage unit for a measured object having a shape substantially identical to a detected shape and specifies a measured object, extracts measurement procedure information on the specified measured object as measurement procedure information on the target measured object, and causes the use measuring device to measure the target measured object on the basis of the measurement procedure information extracted.

TECHNICAL FIELD

The present invention relates to an offline teaching device, ameasurement control device, and a program enabling automatic measurementeasily by generating measurement procedure information with a simpleoperation and applying the measurement procedure information to ameasuring device.

BACKGROUND ART

As a method for generating a part program in which a measurementprocedure for realizing automatic measurement with a measuring device isdescribed, there are online teaching and offline teaching. The onlineteaching is a method for generating a part program by describing, in apart program, a procedure in a case where an operator operates ameasuring device to perform actual measurement of a measured object setin the measuring device. In the online teaching, since the measuringdevice cannot be used during teaching, there is a problem withmeasurement efficiency. Meanwhile, the offline teaching is a method forgenerating a part program by describing, in a part program, a simulationresult obtained after measurement teaching simulation is performed onComputer Aided Design (CAD) data of a measured object by using offlineteaching application software or the like. In the offline teaching,since teaching can be performed without using an actual device,measurement can be performed efficiently.

SUMMARY OF INVENTION Technical Problem

A conventional teaching method requires a specialized technique such asan operating technique for a measuring device, an operating techniquefor application software, and a procedure generating technique. Inaddition, the conventional teaching method also requires a specializedtechnique such as a coordinate system setting technique when measurementis performed.

An object of the invention is to provide an offline teaching device, ameasurement control device, and a program enabling automatic measurementeasily by generating measurement procedure information with a simpleoperation and applying the measurement procedure information to ameasuring device.

Solution to Problem

An offline teaching device according to an aspect of the inventionincludes a three-dimensional sensor unit configured to detect a positionand a three-dimensional shape in a three-dimensional space of an objectpresent within a detection range; a display unit configured to display,in a visible manner, a three-dimensional shape of a measured objectdetected by the three-dimensional sensor unit; an interface screengeneration unit configured to generate an interface screen for receivingan input of measurement information including information specifying ameasurement point in a three-dimensional shape of the measured objectand information indicating a measurement content at the measurementpoint and configured to cause the display unit to display the interfacescreen together with the three-dimensional shape of the measured object;a measurement procedure information storage unit; and a write unitconfigured to write, to the measurement procedure information storageunit, measurement procedure information including the measurementinformation for each measurement point input sequentially via theinterface screen by using a predetermined unit and informationindicating input order for the measurement information for eachmeasurement point together with information on the three-dimensionalshape of the measured object.

A measurement control device according to an aspect of the inventionincludes a three-dimensional sensor unit configured to detect a positionand a three-dimensional shape in a three-dimensional space of an objectpresent within a detection range; a measurement procedure informationstorage unit configured to store in advance, for each of a plurality ofmeasured objects, information on a three-dimensional shape of each ofthe plurality of measured objects and measurement procedure informationincluding measurement information for each measurement point, includinginformation specifying a measurement point in the three-dimensionalshape and information indicating a measurement content at themeasurement point, and information indicating input order for themeasurement information for each measurement point; a measurementprocedure information extraction unit configured to search themeasurement procedure information storage unit for a three-dimensionalshape detected by the three-dimensional sensor unit of a target measuredobject set in a use measuring device, configured to specify the measuredobject having a three-dimensional shape substantially identical to thethree-dimensional shape of the target measured object, and configured toextract the measurement procedure information on the measured objectspecified from the measurement procedure information storage unit asmeasurement procedure information on the target measured object; acoordinate system setting unit configured to control the use measuringdevice to set a detection coordinate system in the three-dimensionalsensor unit as a coordinate system of the use measuring device; and acontrol unit configured to cause the use measuring device to measure thetarget measured object on the basis of measurement procedure informationon the target measured object.

The measurement control device may further include a measuring deviceinformation storage unit configured to store in advance configurationinformation on each of a plurality of models of measuring devices; ameasuring device information extraction unit configured to search themeasuring device information storage unit on the basis of informationindicating a model of the use measuring device input with apredetermined unit and configured to extract configuration informationon the use measuring device; and a reconfiguring unit configured toreconfigure measurement procedure information on the target measuredobject for the use measuring device on the basis of the configurationinformation on the use measuring device. In the measurement controldevice, the control unit may be configured to cause the use measuringdevice to measure the target measured object on the basis of measurementprocedure information reconfigured for the use measuring device.

A function of each unit of the offline teaching device and themeasurement control device of the invention may be realized bydescribing the function in a program and causing a computer to executethe program.

Advantageous Effects of Invention

According to an offline teaching device and a measurement control deviceof the invention, measurement procedure information is generated with asimple operation and applied to a measuring device to enable automaticmeasurement easily.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a functional block diagram of an offline teaching device 100and a measurement control device 200 of the invention.

FIGS. 2A to 2D are views illustrating an example of an input interfacescreen and an example of an input method.

FIG. 3 is a functional block diagram of an offline teaching device 100and a measurement control device 201 of the invention.

FIG. 4 is a diagram illustrating an example of a configuration of anoffline teaching device 100, a measurement control device 200, and ameasurement control device 201 of the invention in a case where afunction of each unit is realized by causing a CPU to execute a programin which the function of each unit is described.

DESCRIPTION OF EMBODIMENTS

Embodiments of the invention will be described hereinafter withreference to the drawings. Note that in the following description anddrawings, the same reference numerals are assigned to the samefunctional parts, and the description of the functional parts describedonce will be omitted or described as necessary.

First Embodiment

FIG. 1 is a functional block diagram of an offline teaching device 100and a measurement control device 200 of the invention.

The offline teaching device 100 includes a three-dimensional sensor unit110, a display unit 120, an interface screen generation unit 130, aninput unit 140, a write unit 150, and a measurement procedureinformation storage unit 160.

The three-dimensional sensor unit 110 is a three-dimensional sensorconfigured to detect a position and a three-dimensional shape in athree-dimensional space of an object present within a detection range.The three-dimensional sensor unit 110 of any system may be used as longas the three-dimensional sensor unit 110 can detect the position and thethree-dimensional shape in the three-dimensional space of the objectpresent within the detection range.

The display unit 120 is of any system configured to display, in avisible manner, a three-dimensional shape of a measured object detectedby the three-dimensional sensor unit 110. The configuration in which thethree-dimensional shape of the measured object can be visible is anyconfiguration. The three-dimensional shape itself may be displayedsimply, or for example, an imaging unit 170 configured to capture animage of the measured object detected by the three-dimensional sensorunit 110 may further be provided, and the three-dimensional shape of themeasured object can be made visible by displaying an image captured bythe imaging unit 170. In addition, a transmission-type display may beused to make the measured object itself detected by thethree-dimensional sensor unit 110 visible in a manner that the measuredobject is visible through the display.

The interface screen generation unit 130 is configured to generate aninterface screen for receiving an input of measurement informationincluding information specifying a measurement point in thethree-dimensional shape of the measured object and informationindicating a measurement content at the measurement point and configuredto cause the display unit 120 to display the interface screen togetherwith the three-dimensional shape of the measured object. Any interfacescreen and any method for displaying the interface screen may beemployed.

For example, as illustrated in FIG. 2A, the interface screen generationunit 130 causes the display unit 120 to display an icon group iindicating the measurement content side by side with a three-dimensionalshape f of the measured object and/or an image v of the measured object.FIG. 2A exemplifies a case where the icon group i indicating themeasurement content is displayed with symbols indicating roundness,squareness, and cylindricity, respectively.

The input unit 140 is any input unit corresponding to the interfacescreen displayed on the display unit 120 by the interface screengeneration unit 130. For example, in the case of the input interfacescreen including the icon group exemplified in FIG. 2A, a mouse, agesture detection unit, a touch panel display, or the like can beemployed as an input unit.

In the case of a mouse, a pointer p as illustrated in FIG. 2A isdisplayed, and the measurement content and the measurement point may beinput by moving the pointer p onto an icon of a desired measurementcontent by user mouse operation as illustrated in FIG. 2B, dragging theicon as illustrated in FIG. 2C, and dropping the icon at a desiredmeasurement point of the three-dimensional shape f of the measuredobject displayed side by side (FIG. 2D), for example. In addition, themeasurement point at which the measurement content is executed may beinput by moving the pointer p onto the icon of the desired measurementcontent, clicking the mouse to input the measurement content, and thenmoving the pointer p to the desired measurement point and clicking themouse.

In the case of the gesture detection unit, the three-dimensional sensorunit 110, the display unit 120, and the imaging unit 170 are configuredas follows, for example. While a measured object detected by thethree-dimensional sensor unit 110 and an image of a hand of a usercaptured by the imaging unit 170 are made visible on the display unit120, the icon group i is displayed side by side with the measuredobject, and instead of a mouse pointer, the hand of the user is operatedto enable the measurement content and the measurement point to be inputby an input operation such as drag-and-drop.

The gesture detection unit can be realized easily in a case where theoffline teaching device 100 is configured by using a head-mounteddisplay device that is a computer including a function unitcorresponding to the three-dimensional sensor unit 110, the display unit120, and the imaging unit 170, for example.

In the case of the touch panel display, the touch panel display may beemployed as the display unit 120, and the measurement content and themeasurement point may be input by touching an icon indicating themeasurement content with a finger and dragging and dropping the icon ata desired measurement point of the three-dimensional shape f of themeasured object displayed. In addition, the measurement point at whichthe measurement content is executed may be input by touching an iconindicating the measurement content with a finger to input themeasurement content, and then touching a desired measurement point witha finger.

A user repeats the input operation from the input unit 140 as describedabove by the number of desired measurement points.

The write unit 150 is configured to write measurement procedureinformation including measurement information for each measurement pointinput sequentially from the input unit 140 via the interface screen andinformation indicating input order for the measurement information foreach measurement point, to the measurement procedure information storageunit 160 together with information on the three-dimensional shape of themeasured object.

The measurement procedure information storage unit 160 is a storage unitconfigured to store measurement procedure information output from thewrite unit 150. Any storage system or any type of storage unit may beemployed as the measurement procedure information storage unit 160 aslong as the measurement procedure information can be stored. Inaddition, the storage unit does not need to be provided in the body ofthe offline teaching device 100 or the measurement control device 200and may be provided externally in a manner that the storage unittransmits and/or receives information via wired communication orwireless communication.

The measurement control device 200 includes the three-dimensional sensorunit 110, the measurement procedure information storage unit 160, ameasurement procedure information extraction unit 210, a coordinatesystem setting unit 220, and a control unit 230.

The three-dimensional sensor unit 110 and the measurement procedureinformation storage unit 160 are functional units common to thethree-dimensional sensor unit 110 and the measurement procedureinformation storage unit 160 of the offline teaching device 100,respectively. However, the measurement procedure information storageunit 160 is configured to store measurement procedure information foreach of a plurality of measured objects. In addition, thethree-dimensional sensor unit 110 may be provided separately in each ofthe offline teaching device 100 and the measurement control device 200.

The measurement procedure information extraction unit 210 is configuredto search the measurement procedure information storage unit 160 for athree-dimensional shape detected by the three-dimensional sensor unit110 of a target measured object set in a use measuring device 10,configured to specify a measured object having a three-dimensional shapesubstantially identical to the three-dimensional shape of the targetmeasured object, and configured to extract the measurement procedureinformation on the measured object specified from the measurementprocedure information storage unit 160 as measurement procedureinformation on the target measured object.

Accordingly, each measurement point (and the measurement content at eachpoint) in the three-dimensional shape of the target measured object setin the use measuring device 10 is specified in a detection coordinatesystem in the three-dimensional sensor unit 110.

The coordinate system setting unit 220 is configured to control the usemeasuring device 10 to set the detection coordinate system in thethree-dimensional sensor unit 110 as a coordinate system of the usemeasuring device 10. Specifically, the coordinate system setting unit220 controls the use measuring device 10 and causes the use measuringdevice 10 to execute a measurement function provided in the usemeasuring device 10 for setting a coordinate system on the targetmeasured object.

The control unit 230 is configured to cause the use measuring device 10to measure the target measured object on the basis of the measurementprocedure information on the target measured object.

According to the offline teaching device 100 and the measurement controldevice 200 of the invention described above, automatic measurement canbe performed easily by generating measurement procedure information witha simple operation and applying the measurement procedure information toa measuring device.

Second Embodiment

Assuming that a plurality of models of measuring devices are used, sincea specific configuration of a measuring device differs for each model ofa measuring device, a measurement procedure may desirably bereconfigured in a manner suitable for a model of a measuring device. Asecond embodiment is an embodiment enabling automatic measurement evenin such a case. The second embodiment is realized by a combination ofthe offline teaching device 100 similar to the offline teaching deviceof the first embodiment and a measurement control device 201 in whichseveral components are added to the measurement control device 200 ofthe first embodiment.

FIG. 3 is a functional block diagram of the offline teaching device 100and the measurement control device 201.

The measurement control device 201 includes the three-dimensional sensorunit 110, the measurement procedure information storage unit 160, themeasurement procedure information extraction unit 210, the coordinatesystem setting unit 220, the control unit 230, a measuring deviceinformation storage unit 240, a measuring device information extractionunit 250, an input unit 260, and a reconfiguring unit 270. That is, themeasurement control device 201 includes a configuration in which themeasurement control device 200 of the first embodiment further includesthe measuring device information storage unit 240, the measuring deviceinformation extraction unit 250, the input unit 260, and thereconfiguring unit 270.

The measuring device information storage unit 240 is a storage unitconfigured to store configuration information on each of a plurality ofmodels of measuring devices in advance. The configuration information isany information, and examples of the configuration information include ameasurable range of a measuring device, a type of probe head or probemounted, an angle of a registered probe, and information on a probechanger, a stylus changer, or the like. Any storage system or any typeof storage unit may be employed as the measuring device informationstorage unit 240 as long as the configuration information can be stored.In addition, the storage unit does not need to be provided in a body ofthe offline teaching device 100 or the measurement control device 201and may be provided externally in a manner that the storage unittransmits and/or receives information via wired communication orwireless communication.

The measuring device information extraction unit 250 is configured tosearch the measuring device information storage unit 240 on the basis ofinformation indicating a model of the use measuring device 10 input witha predetermined unit and to extract configuration information on the usemeasuring device 10 from among a plurality of pieces of configurationinformation on a plurality of models of measuring devices.

The input unit 260 from which information indicating a model of the usemeasuring device 10 is input is of any form. A keyboard, a mouse, andthe like are employed in a case where an input interface screen isdisplayed on the display unit 120 shared with the offline teachingdevice 100 or a display unit (not illustrated) provided individually inthe measurement control device 201, and information is input via theinput interface screen, for example.

In addition, the input unit 260 may include an imaging unit 261 and acaptured image analysis unit 262. The imaging unit 261 may capture animage of an appearance of the use measuring device 10, a plate on whicha model number is shown, or the like, and the captured image analysisunit 262 may search for a model of the use measuring device 10 or readthe model number of the use measuring device 10 on the basis of thecaptured image to specify the model of the use measuring device 10, andthe specified model of the use measuring device 10 is input to themeasuring device information extraction unit 250, for example.

The reconfiguring unit 270 is configured to reconfigure measurementprocedure information on the target measured object extracted by themeasurement procedure information extraction unit 210 into a measurementprocedure suitable for the use measuring device on the basis of theconfiguration information on the use measuring device 10 extracted bythe measuring device information extraction unit 250.

The control unit 230 is configured to cause the use measuring device 10to perform the measurement on the basis of the measurement procedureinformation reconfigured for the use measuring device by thereconfiguring unit 270.

Accordingly, the measurement procedure information generated by theoffline teaching device 100 can be reconfigured automatically dependingon a model of a measuring device, and measurement can be performed.

Third Embodiment

A function of each unit of the offline teaching device 100, themeasurement control device 200, and the measurement control device 201of the invention may be realized by describing the function in a programand causing a computer to execute the program.

FIG. 4 is a diagram illustrating an example of a configuration of theoffline teaching device 100, the measurement control device 200, and themeasurement control device 201 in a case where a function of each unitis realized by describing the function in a program and causing acomputer to execute the program.

The offline teaching device 100, the measurement control device 200, andthe measurement control device 201 each include a storage unit 301, aCPU 302, a display unit 303, a three-dimensional sensor unit 304, aninput unit 305, an imaging unit 306, and a communication unit 307, forexample.

The storage unit 301 functions as the measurement procedure informationstorage unit 160 and the measuring device information storage unit 240and is also configured to store a program in which the function of eachunit of the offline teaching device 100, the measurement control device200, and the measurement control device 201 is described. In addition toa storage medium such as an HDD and a flash memory, a non-volatilememory, a volatile memory, or the like can be employed as the storageunit 301, for example. One storage unit 301 may be provided, or aplurality of the storage units 301 may be provided depending on items tobe stored or the like.

The CPU 302 executes the program read from the storage unit 301 torealize the function of each unit of the offline teaching device 100,the measurement control device 200, and the measurement control device201.

The display unit 303 is of any system configured to function as adisplay unit 120.

The three-dimensional sensor unit 304 is a three-dimensional sensorconfigured to function as a three-dimensional sensor unit 110.

The input unit 305 is an input unit such as a mouse or a keyboardconfigured to function as the input unit 140 and the input unit 260.

The imaging unit 306 is of any system configured to function as theimaging unit 170 and the imaging unit 261.

The communication unit 307 is an interface for connection with awireless network or a wired network and transmits and/or receivesinformation to/from the use measuring device 10 or a cloud storageconnected with a network under control of the CPU 302.

The invention is not limited to the embodiments described above. Eachembodiment is exemplary, and an embodiment including a configurationsubstantially identical to the technical ideas set forth in the claimsof the invention and exhibiting similar effects is encompassed by thetechnical scope of the invention. That is, changes can be madeappropriately within the scope of the technical ideas expressed in theinvention, and forms in which such changes and modifications are addedare also encompassed by the technical scope of the invention.

REFERENCE SIGNS LIST

-   10 Use measuring device-   100 Offline teaching device-   110, 304 Three-dimensional sensor unit-   120, 303 Display unit-   130 Interface screen generation unit-   140, 260, 305 Input unit-   150 Write unit-   160 Measurement procedure information storage unit-   170, 261, 306 Imaging unit-   200, 201 Measurement control device-   210 Measurement procedure information extraction unit-   220 Coordinate system setting unit-   230 Control unit-   240 Measuring device information storage unit-   250 Measuring device information extraction unit-   262 Captured image analysis unit-   270 Reconfiguring unit-   301 Storage unit-   302 CPU-   307 Communication unit-   f Three-dimensional shape of measured object-   i Icon group-   p Pointer-   v Image of measured object

The invention claimed is:
 1. A measurement control device comprising: athree-dimensional sensor unit configured to detect a position and athree-dimensional shape in a three-dimensional space of an objectpresent within a detection range; a measurement procedure informationstorage unit configured to store in advance, for each of a plurality ofobjects, information on a three-dimensional shape of each of theplurality of objects and measurement procedure information includingmeasurement information for each of a plurality of measurement pointsand information indicating input order for the measurement informationfor each of the plurality of measurement points, the measurementinformation for each of the plurality of measurement points includinginformation specifying each of the plurality of measurement points inthe three-dimensional shape and information indicating a measurementcontent at the each of the plurality of measurement points; ameasurement procedure information extraction unit configured to searchthe measurement procedure information storage unit to specify one of theplurality of objects which has the three-dimensional shape substantiallyidentical to a three-dimensional shape of a target object in a measuringdevice in use based on the three-dimensional shape of the target objectdetected by the three-dimensional sensor unit, and the measurementprocedure information extraction unit being configured to extract themeasurement procedure information on the specified object from themeasurement procedure information storage unit as the measurementprocedure information on the target object, a coordinate system settingunit configured to control the measuring device in use to set adetection coordinate system in the three-dimensional sensor unit as acoordinate system of the measuring device in use; and a control unitconfigured to cause the measuring device in use to measure the targetobject on the basis of the measurement procedure information on thetarget object.
 2. The measurement control device according to claim 1further comprising: a measuring device information storage unitconfigured to store in advance configuration information on each of aplurality of models of measuring devices; a measuring device informationextraction unit configured to search the measuring device informationstorage unit and extract the configuration information on the measuringdevice in use from the measuring device information storage unit on thebasis of model information indicating a model of the measuring device inuse, the model information being input with an input unit; and areconfiguring unit configured to reconfigure the measurement procedureinformation on the target object for the measuring device in use on thebasis of the extracted configuration information on the measuring devicein use, wherein the control unit is configured to cause the measuringdevice in use to measure the target object on the basis of themeasurement procedure information reconfigured for the measuring devicein use.
 3. A non-volatile memory storing a program for causing acomputer to function as each unit of the measurement control deviceaccording to claim
 1. 4. The measurement control device according toclaim 1, wherein the control unit is configured to cause the measuringdevice in use to measure the target object in an order according to theinput order for the measurement information for each of the plurality ofmeasurement points, which is included in the measurement procedureinformation on the target object.